package cn.ewan.cloud.tenant.data.router.redis.config;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.autoconfigure.data.redis.RedisProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

/**
 * @author lgh
 * @date 2023/3/3 10:16
 */
@Data
@NoArgsConstructor
@ConfigurationProperties(prefix = "spring.redis.tenant")
public class MultiRedisConfig {


    /**
     * 多数据源集合
     */
    private Map<String, RedisProperties> multi;
}
